import request from '@/utils/request'

/*
 * 获取企业信息
 * */
export function myenterprise(data) {
  return request({
    url: '/enterprise/index',
    method: 'post',
    data:data,
    power: false
  })
}


/*
 * 获取企业信息
 * */
export function getEnterprise(data) {
  return request({
    url: '/enterprise/enterpriseinfo',
    method: 'post',
    data:data,
    power: false
  })
}

/*
 * 获取邀请记录
 * */
export function getinvitation(data) {
  return request({
    url: '/Invitation/getinvitation',
    method: 'post',
    data:data,
    power: false
  })
}

/*
 * 获取投递记录
 * */
export function getdelivery(data) {
  return request({
    url: '/Invitation/getdelivery',
    method: 'post',
    data:data,
    power: false
  })
}

/*
 * 获取浏览
 * */
export function getView(data) {
  return request({
    url: '/Invitation/getView',
    method: 'post',
    data:data,
    power: false
  })
}

/*
 * 获取行业分类
 * */
export function getJobCate(data) {
  return request({
    url: '/index/getJobCate',
    method: 'post',
    data:data,
    power: false
  })
}


/*
 * 添加、编辑基本企业信息
 * */
export function saveBasic(data) {
  return request({
    url: '/enterprise/basic',
    method: 'post',
    data:data,
    power: true
  })
}

/*
 * 获取福利标签
 * */
export function getWelfare(data) {
  return request({
    url: '/index/getWelfare',
    method: 'post',
    data:data,
    power: false
  })
}

/*
 * 获取薪资
 * */
export function getJobSalary(data) {
  return request({
    url: '/index/getJobSalary',
    method: 'post',
    data:data,
    power: false
  })
}

/*
 * 人才邀请
 * */
export function AjaxInvi(data) {
  return request({
    url: '/Invitation/AjaxInvi',
    method: 'post',
    data:data,
    power: false
  })
}
/*
 * 取消邀请
 * */
export function quxiaodelivery(data) {
  return request({
    url: '/Invitation/quxiao',
    method: 'post',
    data:data,
    power: false
  })
}

/*
 * 操作投递记录
 * */
export function handleDelivery(data) {
  return request({
    url: '/Invitation/handleDelivery',
    method: 'post',
    data:data,
    power: false
  })
}